home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 January / Macworld (1998-01).dmg / Games Hall of Fame / Duke Nukem 3D / Duke Nukem 3D Demo (PPC) / Duke Nukem 3D Demo / Duke Nukem 3D Demo.rsrc / scrp_1003_AmmoObjects < prev    next >
Text File  |  1997-08-04  |  3KB  |  187 lines

  1.  
  2.   fall
  3.   ifmove RESPAWN_ACTOR_FLAG
  4.     state respawnit
  5.   else
  6.     ifp pshrunk nullop
  7.     else
  8.       ifp palive
  9.         ifcount 6
  10.           ifpdistl RETRIEVEDISTANCE
  11.             ifcanseetarget
  12.       {
  13.         addammo PISTOL_WEAPON PISTOLAMMOAMOUNT
  14.         quote 65
  15.         ifspawnedby AMMO
  16.           state getcode
  17.         else
  18.           state quikget
  19.       }
  20. enda
  21.  
  22. actor FREEZEAMMO
  23.   fall
  24.   ifmove RESPAWN_ACTOR_FLAG
  25.     state respawnit
  26.   else
  27.     ifp pshrunk nullop
  28.     else
  29.       ifp palive
  30.         ifcount 6
  31.           ifpdistl RETRIEVEDISTANCE
  32.             ifcanseetarget
  33.       {
  34.         addammo FREEZE_WEAPON FREEZEAMMOAMOUNT
  35.         quote 66
  36.         ifspawnedby FREEZEAMMO
  37.           state getcode
  38.         else
  39.           state quikget
  40.       }
  41. enda
  42.  
  43. actor SHOTGUNAMMO
  44.   fall
  45.   ifmove RESPAWN_ACTOR_FLAG
  46.     state respawnit
  47.   else
  48.     ifp pshrunk nullop
  49.     else
  50.       ifp palive
  51.         ifcount 6
  52.           ifpdistl RETRIEVEDISTANCE
  53.             ifcanseetarget
  54.       {
  55.         addammo SHOTGUN_WEAPON SHOTGUNAMMOAMOUNT
  56.         quote 69
  57.         ifspawnedby SHOTGUNAMMO
  58.           state getcode
  59.         else
  60.           state quikget
  61.       }
  62. enda
  63.  
  64. actor AMMOLOTS
  65.   fall
  66.   ifmove RESPAWN_ACTOR_FLAG
  67.     state respawnit
  68.   else
  69.     ifp pshrunk nullop
  70.     else
  71.       ifp palive
  72.         ifcount 6
  73.           ifpdistl RETRIEVEDISTANCE
  74.             ifcanseetarget
  75.       {
  76.         addammo PISTOL_WEAPON 48
  77.         quote 65
  78.         ifspawnedby AMMOLOTS
  79.           state getcode
  80.         else
  81.           state quikget
  82.       }
  83. enda
  84.  
  85. actor CRYSTALAMMO
  86.   fall
  87.   ifmove RESPAWN_ACTOR_FLAG
  88.     state respawnit
  89.   else
  90.     ifp pshrunk nullop
  91.     else
  92.       ifp palive
  93.         ifpdistl RETRIEVEDISTANCE
  94.           ifcount 6
  95.             ifcanseetarget
  96.       {
  97.         addammo SHRINKER_WEAPON CRYSTALAMMOAMOUNT
  98.         quote 78
  99.         ifspawnedby CRYSTALAMMO
  100.           state getcode
  101.         else
  102.           state quikget
  103.       }
  104. enda
  105.  
  106. actor GROWAMMO
  107.   fall
  108.   ifmove RESPAWN_ACTOR_FLAG
  109.     state respawnit
  110.   else
  111.     ifp pshrunk nullop
  112.     else
  113.       ifp palive
  114.         ifpdistl RETRIEVEDISTANCE
  115.           ifcount 6
  116.             ifcanseetarget
  117.       {
  118.         addammo GROW_WEAPON GROWCRYSTALAMMOAMOUNT
  119.         quote 123
  120.         ifspawnedby GROWAMMO
  121.           state getcode
  122.         else
  123.           state quikget
  124.       }
  125. enda
  126.  
  127. actor BATTERYAMMO
  128.   fall
  129.   ifmove RESPAWN_ACTOR_FLAG
  130.     state respawnit
  131.   else
  132.     ifp pshrunk nullop
  133.     else
  134.       ifp palive
  135.         ifpdistl RETRIEVEDISTANCE
  136.           ifcount 6
  137.             ifcanseetarget
  138.       {
  139.         addammo CHAINGUN_WEAPON CHAINGUNAMMOAMOUNT
  140.           quote 63
  141.         ifspawnedby BATTERYAMMO
  142.           state getcode
  143.         else
  144.           state quikget
  145.       }
  146. enda
  147.  
  148. actor DEVISTATORAMMO
  149.   fall
  150.   ifmove RESPAWN_ACTOR_FLAG
  151.     state respawnit
  152.   else
  153.     ifp pshrunk nullop
  154.     else
  155.       ifp palive
  156.         ifpdistl RETRIEVEDISTANCE
  157.           ifcount 6
  158.             ifcanseetarget
  159.       {
  160.         addammo DEVISTATOR_WEAPON DEVISTATORAMMOAMOUNT
  161.         quote 14
  162.         ifspawnedby DEVISTATORAMMO
  163.           state getcode
  164.         else
  165.           state quikget
  166.       }
  167. enda
  168.  
  169. actor RPGAMMO
  170.   fall
  171.   ifmove RESPAWN_ACTOR_FLAG
  172.     state respawnit
  173.   else
  174.     ifp pshrunk nullop
  175.     else ifp palive
  176.       ifpdistl RETRIEVEDISTANCE
  177.         ifcount 6
  178.           ifcanseetarget
  179.       {
  180.         addammo RPG_WEAPON RPGAMMOBOX
  181.         quote 64
  182.         ifspawnedby RPGAMMO
  183.           state getcode
  184.         else
  185.           state quikget
  186.       }
  187. enda